<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" />
</head>
<body>
<form class="layui-form" id="pickMaterial">

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">项目</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input"
                   name="projectNo"
                   value=""
                   placeholder="项目单号">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">产品名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input"
                   name="productName"
                   value=""
                   placeholder="产品名称" >
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">数量</label>
        <div class="layui-input-block">
            <input type="number" class="layui-input"
                   name="outCount"
                   placeholder="请输入出库数量">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">领料日期</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="outDate" name="outDate"
                   placeholder="yyyy-MM-dd">
        </div>
    </div>


    <@shiro.user>
        <input type="hidden" name="outerId" value="<@shiro.principal property="id"></@shiro.principal> ">
    </@shiro.user>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">领料人</label>
        <div class="layui-input-block">
            <@shiro.user>
                <input type="text" class="layui-input"
                       name=""
                       value="<@shiro.principal property="empName"></@shiro.principal>"
                       placeholder="领料人姓名" readonly>
            </@shiro.user>
        </div>
    </div>

    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="pickStock">确认
            </button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" type="reset" id="resetBtn">重置</button>
        </div>
    </div>

</form>

<script src="${ctx}/layuimini/js/sale/pickStock.js" charset="UTF-8"></script>
</body>


</html>

